import styled from "styled-components";

const ProWrapper=styled.div`
height: 100%;
overflow-y: scroll;
.top{
    padding: .1rem .2rem;
    text-align: center;
    background-color: white;
    height: .6rem;
    .nav{
        position: absolute;
        top: .6rem;
        left: .1rem;
        margin: 0;
        width: 1rem;
        border: 1px #eee solid;
        padding:.06rem .15rem ;
        border-radius: .3rem;
        li{
            float:left;
            padding-right:.05rem;
            img{
                width: .15rem;
                height: .15rem;
            }
            
        }
    }
    span{
        line-height: .4rem;
        font-size: .18rem;
    }
}
.tip {
    position: absolute;
    opacity: ${props=>props.isShow};
    margin-left: .12rem;
    margin-top: .21rem;
    top: .9rem;
    left: .0rem;
    width: 1.4rem;
    background: #eee;
    padding: .02rem;
    /*设置圆角*/
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    .tip-trangle-top {
        position: absolute;
        top: -.1rem;
        left: .5rem;
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 15px solid #eee;
    }
    ul{
        text-align: center;
        li{
            font-size: .16rem;
            margin-top: .1rem;
            border-bottom: 1px solid black;
            padding: .03rem;
          
            img{
                width: 0.3rem;
                height: 0.3rem;
            }
        }
    }







}

.logo{
    img{
        width: 100%;
        height: 100%;
    }
}
.wash{
    margin-top:.15rem;
    width: 100%;
    padding:.1rem;
    display: flex;
    background-color: #fff;
    div{
        border-radius: .03rem;
    }
    .left{
        width: 40%;
        background-color: #606DFF;
        margin-right: .1rem;
        padding: .12rem .12rem .2rem .12rem;
        h1{
            font-size: .19rem;
            font-weight: normal;
            color: #fff;
        }
        p{
            color: #fff;
            .price{
                color: #fff;
                font-size: .3rem;
                margin-right: .03rem;
            }
            .xs{
                border: 1px solid #fff;
                font-size: .12rem;
                transform : scale(0.9);
                margin-left: .1rem;
                padding: .01rem;
            }
        }
        ul{
            margin-top: .15rem;
            li{
                color: #fff;
                font-size: .12rem;
                transform: scale(0.9);
                margin-top: .02rem;
            }
        }
        .towash{
            color:#606DFF ;
            background-color: #fff;
            margin-top: .2rem;
            display: inline-block;
            padding: .03rem .12rem;
            border-radius:.02rem;
            font-size: .13rem;
        }
    }
    .right{
        float: right;
        width: 60%;
        color: #fff;
        .up{
            display: flex;
            justify-content: space-between;
            div{
                padding: .1rem;
                background-color: #478BFC;
                width: 50%;
                height: 100%;
                h1{
                    font-size: .18rem;
                    font-weight: normal;
                }
                p{
                    font-size: .12rem;
                }
                p+p{
                    margin-top: .2rem;
                    .rig_pri{
                        font-size: .22rem;
                        font-style: italic;
                    }
                }
            }
            .wash_top2{
                margin-left: .1rem;
            }
        }
    }
    .bottom{
        background-color: #00ACFB;
        margin-top: .1rem;
        padding: .12rem;
        h1{
            font-size: .19rem;
            font-weight: normal;
        }
        p{
             margin-top: .12rem;
        }
    }
}
.num{
    padding: .1rem;
    margin-top: .1rem;
    background-color: #fff;
    p{
        span{
         font-size: .15rem;
         font-weight: 800;
        } 
    }
   
}
.ser{
    padding: .15rem;
    margin-top:.1rem ;
    background-color: #fff;
    h1{
        font-size: .18rem;
        font-weight: normal;
        span{
            display: inline-block;
            float: right;
            font-size: .13rem;
            color: #ccc;
        }
    }
    ul{
        display: flex;
        justify-content: space-between;
        li{
            background-color: #F6F8F9;
            padding: .1rem;
            width: 30%;
            height: 1rem;
            &:nth-of-type(2){
                margin: 0 .1rem;
            }
            h3{
                font-size: .13rem;
                font-weight: normal;
            }
            p{
                margin-top: .1rem;
                font-size: .12rem;
                transform: scale(0.80);
                span{
                    font-size: .18rem;
                    font-weight: 600;
                }
            }
        }
    }
}

.compare{
    margin-top:.12rem;
    background-color: #fff;
    padding: .1rem;
    h1{
        font-size: .19rem;
        font-weight: normal;
    }
}
`

export{
    ProWrapper
}